package ltd.newbee.mall.dao;

import ltd.newbee.mall.vo.GoodsOrderDetailVO;
import ltd.newbee.mall.vo.GoodsSummaryVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface OrderGoodsReportMapper {

    /**
     * 获取商品汇总统计
     */
    List<GoodsSummaryVO> selectGoodsSummary(Map<String, Object> params);

    /**
     * 获取商品订单明细
     */
    List<GoodsOrderDetailVO> selectGoodsOrderDetails(Map<String, Object> params);

    /**
     * 获取商品订单明细总数
     */
    int selectGoodsOrderDetailsCount(Map<String, Object> params);
}
